package cn.jxau.fukin.model;

/**
 * Description:自定义封装对象，卡信息+用户+交易
 * Title:CardUser
 * @author ChunFu-Lee
 * @date 2017-9-17 下午2:54:33
 */
public class CardUser {
	private Card card;
	private User user;
	private Trade trade;

	public Card getCard() {
		return card;
	}

	public void setCard(Card card) {
		this.card = card;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Trade getTrade() {
		return trade;
	}

	public void setTrade(Trade trade) {
		this.trade = trade;
	}

	public CardUser(Card card, User user, Trade trade) {
		super();
		this.card = card;
		this.user = user;
		this.trade = trade;
	}

	public CardUser() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "CardUser [card=" + card + ", user=" + user + ", trade=" + trade + "]";
	}

}
